---
title: reason-client
description: GraphQL Code Generator plugin for ReasonML types. A plugin for GraphQL Codegen to generate ReasonML types based on your GraphQL schema for use in a client application.
---

import { PluginHeader } from '@/components/plugin'
import { pluginGetStaticProps } from '@/lib/plugin-get-static-props'
export const getStaticProps = pluginGetStaticProps(__filename)

<PluginHeader />

_Built and maintained by [kgoggin](https://github.com/kgoggin)_.

A plugin for GraphQL Codegen to generate ReasonML types based on your GraphQL schema for use in a client application.

## Examples

Set up your project per the GraphQL Codegen Docs, and specify this plugin in your `codegen.yml`:

```yaml
schema: http://path.to.your.app
generates:
  src/GraphQLTypes.re:
    - reason-client
```

## Usage & Documentation

For the complete documentation, please refer to [kgoggin/graphql-codegen-reason](https://github.com/kgoggin/graphql-codegen-reason) repository.
